<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
  <div class="h">
  <a href="{:U('index')}" class="btn btn-info"><i class="glyphicon glyphicon-equalizer"></i> 返回优惠券列表</a>
  
  
      </div>
     <div class="table_"><table class="table table-bordered" width="100%" border="0" cellspacing="0" cellpadding="0">
     
     
    
 <thead>
 <tr>
    <td align="center">ID</td>
    <td align="center">sn码</td>
    <td align="center">会员ID</td>
    <td align="center">订单ID</td>
    <td align="center">创建日期</td>
    <td align="center">使用日期</td>
    <td align="center">状态</td>
    <!-- <td align="center">操作</td> -->
  </tr>
</thead>
<volist name="list" id="vo">
  <tr class="data_list">
    <td align="center"><input type="checkbox" name="id" id="id" class="sall" value="{$vo.id}" />{$vo.id}</td>
    <td>{$vo.sn}</td>
    <td>{$vo.member_id|}</td>
    <td>{$vo.order_id|}</td>
    <td>{$vo.ctime|day_format}</td>
    <td>{$vo.use_time|day_format}</td>
    <td align="center"><eq name="vo['status']" value="1"><span class="status1 status_btn" field="status,{$vo.id}"></span>
                <else/>
                <span class="status0 status_btn" field="status,{$vo.id}"></span></eq></td>
    
    <!-- <td align="center">
      <a href="{:U('snEdit',array('id'=>$vo['id']))}">编辑</a> <a href="{:U('snDelete',array('id'=>$vo['id']))}" onclick="return confirm('您确定要删除这条记录吗？');">删除</a></td> -->
  </tr>
</volist>
  <tr>
    <td colspan="7"><a href="javascript:void(0);" onclick="sall();">全选/反选</a> <a href="javascript:void(0);" onclick="rall();">全不选</a> <a href="javascript:void(0);" onclick="delall();">删除选中</a> </td>
    </tr>
    <tr>
    <td colspan="7"><div class="pages">{$pages}</div></td>
    </tr>
</table></div>

  </div>
  <div class="clear"></div>
</div>


<include file="Public:footer" />